<?php
	$id = $_GET['id'];
?>
<div class="judul_content">Tambah Data Stok</div>
<form class="form" name="form_tambah" action="utama.php?module=mod_stok&act=simpan&id=<?php echo $id; ?>" method="post">
     <ul>
		<li>
            <label>Ukuran</label>
            <select name="ukuran" id="ukuran" class="form">
				<option value=""> - - Pilih Ukuran - - </option>
				<?php
					$ukuran = $koneksi->query("select * from ukuran order by id_ukuran");
					while ($u = $ukuran->fetch(PDO::FETCH_ASSOC)){
						echo "<option value=$u[id_ukuran]>$u[ukuran]</option>";
					}
				?>
			</select>
        </li>
		<li>
            <label>Stok</label>
            <input type="text" name="stok" id="stok" class="form" maxlength="5" size="30">
			<input type="hidden" name="id_produk" id="id_produk" class="form" value="<?php echo $id; ?>">
        </li>
        <li>
            <label>&nbsp;</label>
            <input type="reset" name="reset" value="Reset" class="reset">
            <input type="submit" name="submit" value="Simpan" class="tambah">
        </li>
    </ul>
</form>       